
//调用接口配置文件
import { request } from 'config/request'

// 获取游戏类型详情
export async function getDetail(params) {
	return request({
		url: `mideadc-game-center-service/activity/gameActivityType/queryById?id=${params.id}`,
		method: 'GET',
		// data: params,
	});
};

 //新增基础设置
export async function addStatus(params) {
    return request({
        url: 'mideadc-game-center-service/activity/gameActivityType/add',
        method: 'POST',
        headers:{
            "content-type":'application/json'
        },
        data: params,
    });
};
   //编辑基础设置
  export async function editStatus(params) {
    return request({
        url: 'mideadc-game-center-service/activity/gameActivityType/edit',
        method: 'POST',
        headers:{
            "content-type":'application/json'
        },
        data: params,
    });
};